using System;
using System.Collections.Generic;
using Dict.DataModel;

namespace Dict.Dao
{
    public class TableTipWordDao:DaoBase<TableTipWord>
    {
        public override void AddPrimaryIndex(TableTipWord model)
        {
            cachePrimary[model.id.ToString()] = model;
        }

        public override string GetFileName()
        {
            return "TableTipWord.txt";
        }

        protected override TableTipWord ParseRowData(string[] rowData)
        {
            TableTipWord data = new TableTipWord();
			data.id = rowData [0];
			data.word = rowData [1];

            return data;
        }



    }

}
